<!DOCTYPE html>
<html lang="en">
    <head>
        {include file="public/header"}
        <script type="text/javascript">

        </script>
    </head>
    <body>
        <div class="wrapper">
            {include file="public/nav"}
            <div id="page-wrapper">
	            <div class="col-lg-12">
	                <h1 class="page-header">添加问答试题</h1>
	            </div>
                <div class="col-lg-12 col-sm-12">
                    <form id="form" class="form  form-horizontal" role="form" action="insert" method="post">
                        <p>
                            <label>选择试卷</label>
                            <select class="form-control" name="pid">
                                {volist name="paper" id="v"}
                                <option value="{$v.pap_id}">{$v.pap_name}</option>
                                {/volist}
                            </select>
                        </p>
                        <p>
                            <label>问答题内容</label>
                            <div>
                                <script id="content" name="content" type="text/plain"></script>
                            </div>
                        </p>
                        <p>
                            <label>参考答案</label>
                            <div>
                                <script id="consult" name="consult" type="text/plain"></script>
                            </div>
                        </p>
                    </form>
                </div>
                <div class="col-lg-12 col-sm-12">
                    <a href="javascript:;" class="btn btn-primary" onclick="edu.submit('form',this)">确定</a>
                </div>                    
            </div>
        </div>
        {include file="public/board"}
        {include file="public/javascript"}
        {include file="public/jqueryform"}
        <script type="text/javascript" src="/admin/vendor/ue/ueditor.config.js"></script>
        <script type="text/javascript" src="/admin/vendor/ue/ueditor.all.js"></script>
        <script type="text/javascript" src="/admin/script/essay/add.js"></script>
    </body>
</html>
